package com.guigu.qxl.mapper;

import com.guigu.pojo.DModuleDetails;
import com.guigu.qxl.pojo.QDesignModule;
import com.guigu.pojo.DesignModuleDetailsVo;

import java.util.List;

public interface DesignModuleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(QDesignModule record);

    int insertSelective(QDesignModule record);

    QDesignModule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(QDesignModule record);

    int updateByPrimaryKey(QDesignModule record);

    String showMaterial();

    int updMaterial(String b);

    int register(DesignModuleDetailsVo designModuleDetailsVo);

    int insertDetails(DModuleDetails d);

    int updateModule(String productId);

    int updateNoModule(String productId);

    List<QDesignModule> pageS0010DesignModule();

    List<QDesignModule> pageS0011DesignModule();

    List<QDesignModule> pageDesignModule();

    int designDesignModuleVheckOk(QDesignModule designModule);

    List<DModuleDetails> showDesignModuleDetailsByParentId(Integer id);

    int designModuleChange(DesignModuleDetailsVo designModuleDetailsVo);

    void deleteDetailsByParentId(Integer id);
}